<template>
  <div>
    Frame
  </div>
</template>
<script>
import { getMenuInfo } from 'utils'
export default {
  name: 'mb-frame',
  components:{

  },
  data () {
    return {
      
    }
  },
  beforeRouteUpdate (to, from, next) {
    // ...
    next()
    this.init()
  },
  mounted() {
    this.init()
  },
  computed: {

  },
  methods: {
    init() {
      const menuName = this.$route.params.name;
      const menuInfo = getMenuInfo(menuName);
      console.log(menuInfo)
      if (!menuInfo) return
    }
  }
}
</script>
<style>
    
</style>
